package com.foruo.demo.sharding.service;

import com.foruo.demo.sharding.entity.User;

import java.util.List;

public interface IUserService {

    List<User> list();

    Long add(User user);

    User findById(Long id);

    User findByName(String name);
}
